namespace Sirius.Mapper
{
    using System;

    public interface ISession : IDisposable
    {
        IDataSource ExecuteQuery(IQuery query);

        void Rollback();
        void Accept();
        void AcceptImmediate();

        IProvider Provider { get; }
    }
}